import axios from "../index.js";
// 临时培训计划
// 列表
export const trainingTemporaryListPage = (data) => {
  return axios.request({
    url: "/plan_training/training-temporary/listPage",
    method: "post",
    data: data
  });
};
// 新增
export const trainingTemporaryInsert = (data) => {
  return axios.request({
    url: "/plan_training/training-temporary/insert",
    method: "post",
    data: data
  });
};
// 详情
export const trainingTemporaryDetail = (data) => {
  return axios.request({
    url: "/plan_training/training-temporary/detail",
    method: "post",
    data: data
  });
};
// 删除
export const trainingTemporaryDel = (data) => {
  return axios.request({
    url: "/plan_training/training-temporary/del",
    method: "post",
    data: data
  });
};
// 导出
export const trainingTemporaryUpdate = (data) => {
  return axios.request({
    url: "/plan_training/training-temporary/update",
    method: "post",
    data: data
  });
};
// 导入
export const trainingTemporaryUpload = (data) => {
  return axios.request({
    url: "/plan_training/training-temporary/upload",
    method: "post",
    data: data
  });
};
